A last-gasp strike from Ronaldo helped his side snatch a 3-2 win at Valladolid.
Real Sociedad moved above Real Madrid into second place behind leaders Deportivo after a 3-1 win over an in-form Real Mallorca in the Spanish League.
A 14th minute goal from Christian Vieri gave Inter Milan a 1-0 win over Valencia in the first leg of their Champions League quarter-final on Wednesday.